package cn.iocoder.yudao.module.wms.controller.admin.commodity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 商品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CommodityRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6903")
    @ExcelProperty("主键")
    private String id;

    @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "8183")
    @ExcelProperty("库存数量")
    private Integer count;

    @Schema(description = "描述信息", example = "随便")
    @ExcelProperty("描述信息")
    private String description;

    @Schema(description = "商品名称", example = "王五")
    @ExcelProperty("商品名称")
    private String name;

    @Schema(description = "商品单价", requiredMode = Schema.RequiredMode.REQUIRED, example = "29294")
    @ExcelProperty("商品单价")
    private Double price;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private String createAt;

    @Schema(description = "更新时间")
    @ExcelProperty("更新时间")
    private String updateAt;

}